package com.springcloud.service.impl;

import com.springcloud.dao.paymentDao;
import com.springcloud.pojo.payment;
import com.springcloud.service.IPaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: ChengXiaotian
 * @Date: 2020-06-11 09:37
 * @Description:
 */
@Service
public class PaymentServiceImpl implements IPaymentService {
    @Autowired
    private paymentDao paymentDao;
    @Override
    public payment findById(Long id) {
        return paymentDao.selectById(id);
    }
}
